package com.dw.etl.core.bean.model;

import java.io.Serializable;

public class EtlLogHandbatchItem implements Serializable {

	private static final long serialVersionUID = 1L;

	private String idHandbatchItem;

	private String idHendbatch;

	private Long idJobExecution;

	private String naBatchjob;

	private String status;

	public String getIdHandbatchItem() {
	    return idHandbatchItem;
	}

	public void setIdHandbatchItem(String idHandbatchItem) {
	    this.idHandbatchItem = idHandbatchItem;
	}

	public String getIdHendbatch() {
	    return idHendbatch;
	}

	public void setIdHendbatch(String idHendbatch) {
	    this.idHendbatch = idHendbatch;
	}

	public Long getIdJobExecution() {
	    return idJobExecution;
	}

	public void setIdJobExecution(Long idJobExecution) {
	    this.idJobExecution = idJobExecution;
	}

	public String getNaBatchjob() {
	    return naBatchjob;
	}

	public void setNaBatchjob(String naBatchjob) {
	    this.naBatchjob = naBatchjob;
	}

	public String getStatus() {
	    return status;
	}

	public void setStatus(String status) {
	    this.status = status;
	}

	@Override
	public boolean equals(Object that) {
	    if (this == that) {
	        return true;
	    }
	    if (that == null) {
	        return false;
	    }
	    if (getClass() != that.getClass()) {
	        return false;
	    }
	    EtlLogHandbatchItem other = (EtlLogHandbatchItem) that;
	    return (this.getIdHandbatchItem() == null ? other.getIdHandbatchItem() == null : this.getIdHandbatchItem().equals(other.getIdHandbatchItem())) && (this.getIdHendbatch() == null ? other.getIdHendbatch() == null : this.getIdHendbatch().equals(other.getIdHendbatch())) && (this.getIdJobExecution() == null ? other.getIdJobExecution() == null : this.getIdJobExecution().equals(other.getIdJobExecution())) && (this.getNaBatchjob() == null ? other.getNaBatchjob() == null : this.getNaBatchjob().equals(other.getNaBatchjob())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()));
	}

	@Override
	public int hashCode() {
	    final int prime = 31;
	    int result = 1;
	    result = prime * result + ((getIdHandbatchItem() == null) ? 0 : getIdHandbatchItem().hashCode());
	    result = prime * result + ((getIdHendbatch() == null) ? 0 : getIdHendbatch().hashCode());
	    result = prime * result + ((getIdJobExecution() == null) ? 0 : getIdJobExecution().hashCode());
	    result = prime * result + ((getNaBatchjob() == null) ? 0 : getNaBatchjob().hashCode());
	    result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
	    return result;
	}

	@Override
	public String toString() {
	    StringBuilder sb = new StringBuilder();
	    sb.append(getClass().getSimpleName());
	    sb.append(" [");
	    sb.append("Hash = ").append(hashCode());
	    sb.append(", serialVersionUID=").append(serialVersionUID);
	    sb.append(", idHandbatchItem=").append(idHandbatchItem);
	    sb.append(", idHendbatch=").append(idHendbatch);
	    sb.append(", idJobExecution=").append(idJobExecution);
	    sb.append(", naBatchjob=").append(naBatchjob);
	    sb.append(", status=").append(status);
	    sb.append("]");
	    return sb.toString();
	}


}